package com.ruoyi.electronicFence.mapper;

import java.util.List;
import com.ruoyi.electronicFence.domain.TEfAreaEquipment;
import org.apache.ibatis.annotations.Mapper;

/**
 * 场景-设备/场所关联Mapper接口
 *
 * @author sxygsj
 * @date 2024-05-31
 */
@Mapper
public interface TEfAreaEquipmentMapper
{
    /**
     * 查询场景-设备/场所关联
     *
     * @param id 场景-设备/场所关联主键
     * @return 场景-设备/场所关联
     */
    public TEfAreaEquipment selectTEfAreaEquipmentById(Long id);

    /**
     * 查询场景-设备/场所关联列表
     *
     * @param tEfAreaEquipment 场景-设备/场所关联
     * @return 场景-设备/场所关联集合
     */
    public List<TEfAreaEquipment> selectTEfAreaEquipmentList(TEfAreaEquipment tEfAreaEquipment);

    /**
     * 新增场景-设备/场所关联
     *
     * @param tEfAreaEquipment 场景-设备/场所关联
     * @return 结果
     */
    public int insertTEfAreaEquipment(TEfAreaEquipment tEfAreaEquipment);

    /**
     * 修改场景-设备/场所关联
     *
     * @param tEfAreaEquipment 场景-设备/场所关联
     * @return 结果
     */
    public int updateTEfAreaEquipment(TEfAreaEquipment tEfAreaEquipment);

    /**
     * 删除场景-设备/场所关联
     *
     * @param id 场景-设备/场所关联主键
     * @return 结果
     */
    public int deleteTEfAreaEquipmentById(Long id);

    /**
     * 批量删除场景-设备/场所关联
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTEfAreaEquipmentByIds(Long[] ids);
}
